package com.epam.productstore.form;

import org.apache.struts.action.ActionForm;
import org.jdom.Document;

public class ProductForm extends ActionForm {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7042409450975418716L;
	
	private Document document;
	private String categoryName;
	private String subcategoryName;
	private int categoryId;
	private int subcategoryId;
	private long xmlLastModified; 

	public Document getDocument() {
		return document;
	}

	public void setDocument(Document document) {
		this.document = document;
	}

	public long getXmlLastModified() {
		return xmlLastModified;
	}

	public void setXmlLastModified(long xmlLastModified) {
		this.xmlLastModified = xmlLastModified;
	}

	public String getCategoryName() {
		return categoryName;
	}

	public void setCategoryName(String categoryName) {
		this.categoryName = categoryName;
	}

	public String getSubcategoryName() {
		return subcategoryName;
	}

	public void setSubcategoryName(String subcategoryName) {
		this.subcategoryName = subcategoryName;
	}
	
	public int getCategoryId() {
		return categoryId;
	}
	
	public void setCategoryId(int categoryId) {
		this.categoryId = categoryId;
	}
	
	public int getSubcategoryId() {
		return subcategoryId;
	}
	
	public void setSubcategoryId (int subcategoryId) {
		this.subcategoryId = subcategoryId;
	}
}
